﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Radiation___IM.Commands
{
    public class Whoami : ICommand
    {
        private readonly string m_commandkey = "whoami";

        public Whoami()
        {
        }

        public string commandKey()
        {
            return m_commandkey;
        }

        public string requiredPermission()
        {
            return null;
        }

        public void execute(string[] command_parts, Client client)
        {
            MessageExecution.sendData(client, "Your nickname is : " + client.Nickname);
        }
    }
}
